#coding=utf-8

from django.forms.widgets import Input


class DialogInput(Input):
    input_type = 'text'
    
    def render(self, name, value, attrs=None):
        rendered = super(DialogInput, self).render(name, value, attrs)
        rendered = ''.join((rendered, '<a href=\"#\">probando</a>',))
        return rendered